body {
    height: 2000px;
}

/*单行溢出隐藏*/
.cut-one {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

a ,
a:hover {
    color: #333;
    text-decoration: none;
}

/*头部*/
.wjs-header {
    height: 40px;
    border-bottom: 1px solid #ccc;
    text-align: center;
    line-height: 40px;
    .row {
        div {
            border-right: 1px solid #ccc;
            height: 40px;
            &:last-child {
                border-right: none;
            }
            .btn-register {
                padding: 2px 10px;
            }
        }
        .m-wjs {
          position: relative;
          .code {
            display: none;
            position: absolute;
            left: -24px;
            top: 29px;
            z-index: 999;
          }
          &:hover .code{
            display: block;
          }
        }
    } 
}

/*导航*/
.wjs-nav {
    .wjs-navbar {
        background-color: #fff;
        border-color: #e7e7e7;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #ccc;
        margin-bottom: 0;
      }
      .wjs-navbar .navbar-brand {
        color: #777;
        height: 80px;
        line-height: 50px;
      }

      .wjs-navbar .navbar-brand  {
        .wjs_icon_logo {
            font-size: 50px;
            color: red;
            vertical-align: middle;
        }
      }

      .wjs-navbar .navbar-brand  {
        .wjs_icon_word {
            font-size: 30px;
            color: #000;
            vertical-align: middle;
        }
      }

      .wjs-navbar .navbar-brand:hover,
      .wjs-navbar .navbar-brand:focus {
        color: #5e5e5e;
        background-color: transparent;
      }
      .wjs-navbar .navbar-text {
        color: #777;
      }
      .wjs-navbar .navbar-nav > li > a {
        color: #777;
        height: 80px;
        line-height: 50px;
      }
      .wjs-navbar .navbar-nav > li > a:hover,
      .wjs-navbar .navbar-nav > li > a:focus {
        color: #333;
        border-bottom: 3px solid red;
        background-color: transparent;
      }
      .wjs-navbar .navbar-nav > .active > a,
      .wjs-navbar .navbar-nav > .active > a:hover,
      .wjs-navbar .navbar-nav > .active > a:focus {
        color: #555;
        background-color: #e7e7e7;
      }
      .wjs-navbar .navbar-nav > .disabled > a,
      .wjs-navbar .navbar-nav > .disabled > a:hover,
      .wjs-navbar .navbar-nav > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
      }
      .wjs-navbar .navbar-toggle {
        border-color: #ddd;
      }
      .wjs-navbar .navbar-toggle:hover,
      .wjs-navbar .navbar-toggle:focus {
        background-color: #ddd;
      }
      .wjs-navbar .navbar-toggle .icon-bar {
        background-color: #888;
      }
      .wjs-navbar .navbar-collapse,
      .wjs-navbar .navbar-form {
        border-color: #e7e7e7;
      }

      /*在移动端 希望行高为50px*/
      @media screen and (max-width: 768px) {
        .wjs-navbar .navbar-brand {
          color: #777;
          height: 50px;
          line-height: 20px;
        }
        .wjs-navbar .navbar-nav > li > a {
          color: #777;
          height: 50px;
          line-height: 20px;
        }
      }
}

/*轮播图*/
.wjs-banner {
  .pc-img {
    height: 410px;
    background-position: center;
  }

  .m-img {
    width: 100%;
  }
}

/*信息*/
.wjs-info {
  .row {
    div {
      margin-top: 30px;
      cursor: pointer;
    }
    .media {
      .media-left {
        font-size: 30px;
      }
    }
  }
}

 /*改变在大屏下 也为970的版心*/
 @media screen and (min-width: 992px) {
    .wjs-info {
      .container {
        width: 970px;
      }
    }
}

/*预约*/
.wjs-book {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 40px 0;
    span[class^='wjs_icon_'] {
      font-size: 24px;
    }
    .book-link {
      color: red;
      border-bottom: 1px dashed red;
    }
    .pull-right {
      a {
        &:hover {
          color: red;
        }
      }
    }
}

/*产品*/
.wjs-tab {
    background-color: #ccc;
    padding: 30px 0;
    .cut {
      position: relative;
      overflow: auto;
    }
    /*tab导航样式*/
    .wjs-tabs {
      border-bottom: 1px solid #aaa;
    }
    .wjs-tabs > li {
      float: left;
    }
    .wjs-tabs > li > a {
      height: 50px;
      line-height: 30px;
    }
    .wjs-tabs > li > a:hover {
      border-bottom: 2px solid red;
      background-color: transparent;
    }
    .wjs-tabs > li.active > a,
    .wjs-tabs > li.active > a:hover,
    .wjs-tabs > li.active > a:focus {
      border-bottom: 2px solid red;
      color: #333;
      background-color: transparent;
    }
    /*产品的内容*/
    .tab-content {
      .row {
        >div {
          margin-top: 20px;
        }
        .in {
          background-color: #fff;
          height: 150px;
          .in-left {
            position: relative;
            /*触发BFC布局*/
            overflow: hidden;
            height: 150px;
            p {
              font-size: 12px;
            }
            &::before {
              content: "\e915";
              position: absolute;
              font-family: 'wjs_fonts';
              left: 0;
              top: -8px;
              font-size: 40px;
            }
          }
          .in-right {
            position: relative;
            float: right;
            width: 80px;
            height: 150px;
            border-left: 1px dashed #333;
            p:nth-child(1) {
              margin-top: 30px;
            }
            .w {
              font-size: 35px;
              font-weight: 700;
            }
            &::before,
            &::after {
              position: absolute;
              left: -5px;
              top: -5px;
              content: "";
              width: 10px;
              height: 10px;
              border-radius: 50%;
              background-color: #ccc;
            }
            &::after {
              top: auto;
              bottom: -5px;
            }
          }
        }
        /*高亮*/
        .current {
          .in {
            background-color: red;
            color: #fff;
          }
        }
      }
    }
}

/*新闻*/
.wjs-news {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 40px 0;
  h4 {
    position: relative;
    border-bottom: 1px solid #ccc;
    text-align: center;
    line-height: 40px;
    &::before {
      content: "";
      position: absolute;
      bottom: -4px;
      right: -5px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      border: 1px solid #ccc;
    }
  }
  /*tab栏头部*/
  .row {
    .news-tabs {
    }
    .news-tabs > li {
      float: left;
      margin-bottom: 60px;
      &:last-child {
        margin-bottom: 0;
      }
    }
    .news-tabs > li > a {
        display: block;
        width: 60px;
        height: 60px;
        background-color: #ccc;
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        font-size: 30px;
    }
    .news-tabs > li > a:hover {
        background-color: red;
        color: #fff;
    }
    .news-tabs > li.active > a,
    .news-tabs > li.active > a:hover,
    .news-tabs > li.active > a:focus {
        background-color: red;
        color: #fff;
    }
  }

  .line {
    position: absolute;
    left: 45px;
    top: 0;
    height: 100%;
    border-left: 1px dashed red;
  }
  .tab-content {
    ul > li {
      line-height: 50px;
      .cut-one;
    }
  }
}

/*通过媒体查询设置新闻导航的样式*/

@media screen and (max-width: 992px) {
  .wjs-news {
    .row {
      .news-tabs > li {
        margin-bottom: 0;
        width: 25%;
        a {
          margin: 0 auto;
        }
      }
    }
  }
}

/*合作伙伴*/
.wjs-friend {
  padding: 30px 0;
  h4 {
    font-size: 60px;
  }
  ul {
    li {
      display: inline-block;
      list-style-type: none;
      font-size: 70px;
      margin: 0 20px;
      color: #f99;
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .wjs-friend {
    h4 {
      font-size: 40px;
    }
  }
}

@media screen and (max-width: 768px) {
  .wjs-friend {
    h4 {
      font-size: 24px;
    }
  }
}

/*模态框*/
.panel.panel-primary {
  margin-bottom: 0;
}